#ifndef USERADMINMODEL_H
#define USERADMINMODEL_H
#include "universalquerymodel.h"


class UserAdminModel : public UniversalQueryModel
{
public:
    UserAdminModel(QObject *parent = 0);
    Qt::ItemFlags flags(const QModelIndex &index);
    QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
    void sort(int column,Qt::SortOrder order);
    void refresh();
    QString fetchTableData(int column, Qt::SortOrder order);
    void filtrate(const QString &name);
private:
    QString filterText;
};

#endif // USERADMINMODEL_H
